/** * Simple JSON wrapper.  * Pass inner function block and wrap it.  *  * @author Martin Kleppe <kleppe@gmail.com> */class org.osflash.thunderbolt.data.JSReturn {		public var codeFragment:String;			/**	 * Javascript code fragment wrapper.	 * @param	codeFragment	Code block to wrap.	 */	function JSReturn(codeFrament:String){		this.codeFragment = codeFrament;	}		/**	 * Returns an self executing function call.	 * @return	Wrapped function call.	 */	public function toString():String{		return "(function(){" + this.codeFragment + "})()";	}}